package net.lab1024.sa.admin.module.business.erp.mmo.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * 工单 实体类
 *
 * @Author AKITA
 * @Date 2025-04-19 08:57:48
 * @Copyright AKITA
 */

@Data
@TableName("mmord")
public class MmordEntity {


    @TableId(type = IdType.AUTO)
    private Long id;
    private String itemId;
    private String itemName;
    private String batchId;
    private Long objId;
    private String objName;
    private String docStatus;

    private Long deptId;
    private String deptName;
    private String absId;
    private Boolean approved;
    private String remark;
    @Version
    private Integer version;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private BigDecimal qty ;
    private Boolean playStatus;
    private Boolean issuStatus;
    private LocalDateTime playDateTime;
    private LocalDateTime issuDateTime;
    private String connum;
    private String specs;
    private String unit;

    private Long baseId;
    private Integer baseLineNum;
    private String type;


}
